package com.zwj.design.factory.abs.factory.impl;

import com.zwj.design.factory.abs.factory.AbstractFactory;
import com.zwj.design.factory.abs.service.BasketBall;
import com.zwj.design.factory.abs.service.FootBall;
import com.zwj.design.factory.abs.service.impl.LiningBasketBall;
import com.zwj.design.factory.abs.service.impl.LiningFootBall;

/**
 * 具体工厂，负责生产李宁篮球，李宁足球
 */
public class LiningFactory implements AbstractFactory {
    @Override
    public BasketBall makeBasketBall() {
        return new LiningBasketBall();
    }

    @Override
    public FootBall makeFootBall() {
        return new LiningFootBall();
    }
}
